home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-02-05 | 1010 b | 37 lines | [TEXT/MACA] |
- cat think-c-pap-routines-h.txt
- #include "ResourceMgr.h"
- #include "hfs.h"
- #include "OSUtil.h"
- /*
- #define TEST
- */
- typedef struct
- { long systemStuff;
- Str255 statusStr;
- } papStatusRec, *papStatusPtr;
-
-
- extern pascal short PAPOpen();
- extern pascal short PAPRead();
- extern pascal short PAPWrite();
- extern pascal short PAPClose();
- extern pascal short PAPStatus();
- extern short PAPLoad();
- extern short PAPUnload();
- extern Handle pap; /* these static vars don't have to be locked */
- extern Ptr papPtr; /* points to locked PAP mgr */
- extern StringPtr lwNameP, /* handle to locked entity name */
- lwTypeP,
- lwZoneP;
-
- extern Fatal(); /* takes two parameters: Str255, short */
- extern PrintErr();
- #define HFS FSFCBLen
- #ifdef TEST
- #include <AppleTalk.h>
-
- extern void TestDelay();
- extern WindowPtr dbgWind;
- #define DELAY_FACTOR 300
- #endif TEST
- command: